Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump java to 21 #1014

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Bump java to 21 #1014

merged 1 commit into from
Jul 9, 2024

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Jul 9, 2024

Description

Bump java to 21. Adds unsecure node env to prevent build failures.

Issues Resolved

Fix: #1002

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Derek Ho <[email protected]>
@@ -24,6 +22,9 @@ jobs:
# need to switch to root so that github actions can install runner binary on container without permission issues.
options: --user root

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it shouldn't use node?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is an issue with github runners:

On June 30th 2024, we will change the default from Node16 to Node20.
To opt out of this and continue using Node16 while it is still available in the runner, you can choose to set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true

@joshuali925 joshuali925 merged commit b24ed48 into opensearch-project:main Jul 9, 2024
6 of 7 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 22, 2024
Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit b24ed48)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 22, 2024
Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit b24ed48)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
rupal-bq pushed a commit that referenced this pull request Jul 22, 2024
(cherry picked from commit b24ed48)

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
rupal-bq pushed a commit that referenced this pull request Jul 22, 2024
(cherry picked from commit b24ed48)

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Set reporting plugin 3.0.0 baseline JDK version to JDK-21
4 participants